package com.fandy.struts.form;

import org.apache.struts.action.ActionForm;

import com.fandy.struts.Model.Staff;

public class FormReg extends ActionForm{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Staff  s = new Staff();
		
	private String repassword ="";
	
	
	public Staff getStf()
	{		
		return this.s;
	}
	
	public String getPassword() {
		return s.getPassword();
	}
	public void setPassword(String password) {
		this.s.setPassword(password);
	}
	public String getName() {
		return s.getName();
	}
	public void setName(String name) {
		this.s.setName(  name);
	}
	public int getDepartmentid() {
		return s.getDepartmentid();
	}
	public void setDepartmentid(int departmentid) {
		this.s.setDepartmentid(departmentid);
	}
	public String getAddress() {
		return s.getAddress();
	}
	public void setAddress(String address) {
		this.s.setAddress(address);
	}
	public String getContact() {
		return s.getContact();
	}
	public void setContact(String contact) {
		this.s.setContact( contact);
	}
	public float getSalary() {
		return s.getSalary();
	}
	public void setSalary(float salary) {
		this.s.setSalary(salary);
	}
	public String getAuthority() {
		return s.getAuthority();
	}
	public void setAuthority(String authority) {
		this.s.setAuthority(authority);
	}
	public void setRepassword(String repassword) {
		this.repassword  = repassword;
	}
	public String getRepassword() {
		return this.repassword;
	}


	
}
